package com.jlkf.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.jlkf.pojo.User;
import com.jlkf.service.EditionService;
/**
 * 版本更新
 * @author DN
 *
 */
@Controller
@RequestMapping("edition")
public class EditionController {

	@Autowired
	private EditionService editionService;
	
	@RequestMapping("addOrUpdate")
	public Object addOrUpdate(@RequestBody String json){
		return editionService.addOrUpdate(json);
	}
	//列表
	@RequestMapping("getList")
	public Object getList(Integer pageNo,Integer pageSize){
		return editionService.getList(pageNo,pageSize);
	}
	
}
